package com.huadao.pda.project.projectDetail;

import com.huadao.pda.base.BaseHttpPresenter;
import com.huadao.pda.base.BaseView;
import com.huadao.pda.data.bean.DeviceInfo;

public interface ProjectDetailContract {
    interface IProjectDetailView extends BaseView{
        void onGetDevice(DeviceInfo deviceInfo);
        void onScanLogin();
    }

    abstract class IProjectDetailPresenter extends BaseHttpPresenter<IProjectDetailView>{
        abstract void getDeviceByDeviceId(String id);
        abstract void scanLogin(String projectId,String devId,String loginCode);
    }
}
